import Ajax from '../../Common/Ajax'
import Config from "../../Common/Config";

export const query = (data) => {
    return Ajax(`${Config.WeiApiAddress}/api/PT_ProblemType/Query`, "post", data);
};

export const insetorupdate = (data) => {
    return Ajax(`${Config.WeiApiAddress}/api/PT_ProblemType/InsertorUpdate`, "post", data);
};

export const deletebyid = (data) => {
    return Ajax(`${Config.WeiApiAddress}/api/PT_ProblemType/Delete`, "post", data);
};